package com.glut.campusrepair.dto;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.time.LocalDateTime;

/**
 * 
 *查看评价
 * @author weisiyuan
 * @since 2024-07-21 17:24
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
public class ShowEvaluationdto {

    /**
     * 评分
     */
    private Integer rating;

    /**
     * 评论
     */
    private String comments;

    /**
     * 评价时间
     */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime evaTime;/*不知道要不要改数据库表中的类型*/
}
